<!--{include manage_header}-->
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/manage/misc/index.php">首页</a></li>
    <li><a href="/manage/misc/index.php">工作台</a></li>
	<li style="float:right;  font-size:22px; ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8;">
    <!--{if $_SESSION['ali_token']}-->${mb_strimwidth($login_user['realname'],0,10)}<!--{else}-->${mb_strimwidth($login_user['username'],0,10)}<!--{/if}-->
	</a> </li>
    </ul>
    </div>

 <div class="mainleft">
<div class="leftinfo">
<div class="listtitle"><a href="#" class="more1">更多</a><h2>数据统计</h2></div>     
<div class="maintj"> 
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="help">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_misc('index')}</ul>
	</div>-->
    <style>.sect table td{padding:5px;}</style>
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <!--<div class="box-top"></div>-->
            <div class="box-content">
               <!-- <div class="head">
                    <h2>&nbsp;</h2>
				</div>-->
				<div class="sect">
					<!--{if is_manager(1)}-->
					<div class="wholetip clear"><h3>周数据报表</h3></div>
                    <div style="margin:10px 10px; clear:both; text-align:left"><strong>[{$thisday}]</strong></div>
                    <div style="margin:20px;">
                    <table style="width:100%;" cellpadding="5" cellspacing="0" border="1" bordercolor="#89B4D6">
                    <tr valign="middle">
                        <td></td>
                        <td>周日<br />{$week[0]}</td>
                        <td>周一<br />{$week[1]}</td>
                        <td>周二<br />{$week[2]}</td>
                        <td>周三<br />{$week[3]}</td>
                        <td>周四<br />{$week[4]}</td>
                        <td>周五<br />{$week[5]}</td>
                        <td>周六<br />{$week[6]}</td>
                        <td>合计</td>
                    </tr>
                    <tr>
                        <td>注册用户</td>
                        <!--{loop $week $one}--><td>${strval($weekuser[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekuser))}</td>
                    </tr>
                    <tr>
                        <td>在线团购</td>
                        <!--{loop $week $one}--><td>${strval($weekteamonline[$one])}</td><!--{/loop}-->
                        <td>-----</td>
                    </tr>
                    <tr>
                        <td>新上团购</td>
                        <!--{loop $week $one}--><td>${strval($weekteamnew[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekteamnew))}</td>
                    </tr>
                    <tr>
                        <td>付款订单</td>
                        <!--{loop $week $one}--><td>${strval($weekorderpay[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpay))}</td>
                    </tr>
                    <tr>
                        <td>实际销售</td>
                        <!--{loop $week $one}--><td>${strval($weekorderpayorigin[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpayorigin))}</td>
                    </tr>
                    <tr>
                        <td>余额销售</td>
                        <!--{loop $week $one}--><td>${strval($weekorderpaycredit[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpaycredit))}</td>
                    </tr>
                    <tr>
                        <td>付款销售</td>
                        <!--{loop $week $one}--><td>${strval($weekorderpaymoney[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpaymoney))}</td>
                    </tr>
                    <tr>
                        <td>未付订单</td>
                        <!--{loop $week $one}--><td>${strval($weekorderunpay[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderunpay))}</td>
                    </tr>
                    <tr>
                        <td>在线充值</td>
                        <!--{loop $week $one}--><td>${strval($weekflowcharge[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekflowcharge))}</td>
                    </tr>
                    <tr>
                        <td>线下充值</td>
                        <!--{loop $week $one}--><td>${strval($weekflowstore[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekflowstore))}</td>
                    </tr>
                    </table><br/>
					<div style="text-align:right;"><a href="index.php?page=${$page+1}">&lt;&lt;上一周</a><!--{if $page>0}-->&nbsp;&nbsp;<a href="index.php?page={$page-1}">下一周&gt;&gt;</a><!--{else}-->&nbsp;&nbsp;下一周&gt;&gt;<!--{/if}--></div>
					<!--{else}-->
					<div class="wholetip clear"><h3>周数据报表</h3></div>
                    <div style="margin:10px 10px; clear:both; text-align:left"><strong>[{$thisday}]</strong></div>
                    <div style="margin:20px;">
                    <table style="width:100%;" cellpadding="5" cellspacing="0" border="1" bordercolor="#89B4D6">
                    <tr valign="middle">
                        <td></td>
                        <td>周日<br />{$week[0]}</td>
                        <td>周一<br />{$week[1]}</td>
                        <td>周二<br />{$week[2]}</td>
                        <td>周三<br />{$week[3]}</td>
                        <td>周四<br />{$week[4]}</td>
                        <td>周五<br />{$week[5]}</td>
                        <td>周六<br />{$week[6]}</td>
                        <td>合计</td>
                    </tr>
                    <tr>
                        <td>注册用户</td>
                        <!--{loop $weeks $one}--><td>${strval($weekusers[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekusers))}</td>
                    </tr>
                    <tr>
                        <td>在线团购</td>
                        <!--{loop $weeks $one}--><td>${strval($weekteamonlines[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekteamonlines))}</td>
                    </tr>
                    <tr>
                        <td>新上团购</td>
                        <!--{loop $weeks $one}--><td>${strval($weekteamnews[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekteamnews))}</td>
                    </tr>
                    <tr>
                        <td>付款订单</td>
                        <!--{loop $weeks $one}--><td>${strval($weekorderpays[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpays))}</td>
                    </tr>
                    <tr>
                        <td>实际销售</td>
                        <!--{loop $weeks $one}--><td>${strval($weekorderpayorigins[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpayorigins))}</td>
                    </tr>
                    <tr>
                        <td>余额销售</td>
                        <!--{loop $weeks $one}--><td>${strval($weekorderpaycredits[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpaycredits))}</td>
                    </tr>
                    <tr>
                        <td>付款销售</td>
                        <!--{loop $weeks $one}--><td>${strval($weekorderpaymoneys[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderpaymoneys))}</td>
                    </tr>
                    <tr>
                        <td>未付订单</td>
                        <!--{loop $weeks $one}--><td>${strval($weekorderunpays[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekorderunpays))}</td>
                    </tr>
                    <tr>
                        <td>在线充值</td>
                        <!--{loop $weeks $one}--><td>${strval($weekflowcharges[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekflowcharges))}</td>
                    </tr>
                    <tr>
                        <td>线下充值</td>
                        <!--{loop $weeks $one}--><td>${strval($weekflowstores[$one])}</td><!--{/loop}-->
                        <td>${sum(array_values($weekflowstores))}</td>
                    </tr>
                    </table><br/>
					<div style="text-align:right;"><a href="index.php?page=${$page+1}">&lt;&lt;上一周</a><!--{if $page>0}-->&nbsp;&nbsp;<a href="index.php?page={$page-1}">下一周&gt;&gt;</a><!--{else}-->&nbsp;&nbsp;下一周&gt;&gt;<!--{/if}--></div>
					<!--{/if}-->
                    </div>
                    
				</div>
			</div>
        </div>
    </div>
</div>
</div> 
<!-- bd end -->
</div>
    </div>
    </div>
    <!--leftinfo end-->
  </div> 
<!--mainleft end-->
    <div class="mainright">
   <!-- <div class="dflist">
    <div class="listtitle"><a href="http://www.jzphp.com/article_cat-10.html" class="more1" target="_blank">更多</a>最新信息</div>    
    <ul class="newlist">
    <li><a href="http://www.jzphp.com/article-706.html"  target="_blank">司科科技给你一个满意的app开发方案</a></li>
    <li><a href="http://www.jzphp.com/article-661.html" target="_blank">司科为您总结网站建设的优势</a></li>
    <li><a href="http://www.jzphp.com/article-739.html" target="_blank">网络营销有哪些常见的方法呢？</a></li>
    <li><a href="http://www.jzphp.com/article-663.html" target="_blank">团购网站的营销推广运营方案</a></li>
    <li><a href="http://www.jzphp.com/article-618.html" target="_blank">团购358.8亿一半用手机</a></li>
    <li><a href="http://www.jzphp.com/article-698.html" target="_blank">司科为您提供团购手机客户端制作网站模板</a></li>
   <li><a href="http://www.jzphp.com/article-664.html">企业APP是否较于企业网站而言更具有略胜一筹</a></li>
    </ul>        
    </div>-->
    <div class="dflist1">
    <div class="listtitle">信息统计</div>  
	<!--{if is_manager(1)}--> 
    <ul class="newlist">
    <li><i>团购项目数：</i>{$team_count}</li>
    <li><i>用户注册数：</i>{$user_count}</li>
    <li><i>团购订单数：</i>{$order_count}</li>
    <li><i>邮件订阅数：</i>{$subscribe_count}</li>
    </ul>  
	<!--{else}-->
	<ul class="newlist">
    <li><i>团购项目数：</i>{$team_counts}</li>
    <li><i>用户注册数：</i>{$user_counts}</li>
    <li><i>团购订单数：</i>{$order_counts}</li>
    <li><i>邮件订阅数：</i>{$subscribe_counts}</li>
    </ul> 
	<!--{/if}-->      
    </div>
    </div>
    <!--mainright end-->
    </div>
<script type="text/javascript">
	setWidth();
	$(window).resize(function(){
		setWidth();	
	});
	function setWidth(){
		var width = ($('.leftinfos').width()-12)/2;
		$('.infoleft,.inforight').width(width);
	}
</script>

<!--{include manage_footer}-->
